package cn.piesat.scanning.service.impl;

import cn.piesat.scanning.dao.DbDmsAlgorithmFlowManageDAO;
import cn.piesat.scanning.dto.DbDmsAlgorithmFlowManageDTO;
import cn.piesat.scanning.service.DbDmsAlgorithmFlowManageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 作业流程配置服务层实现
 *
 * @author xhl
 */
@Service
public class DbDmsAlgorithmFlowManageServiceImpl implements DbDmsAlgorithmFlowManageService {

    @Autowired
    private DbDmsAlgorithmFlowManageDAO dbDmsAlgorithmFlowManageDAO;

    @Override
    public DbDmsAlgorithmFlowManageDTO getById(String id) {
        return dbDmsAlgorithmFlowManageDAO.findById(id).orElse(null);
    }
}
